package com.junerain.springboot.opfirstdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Junerain
 * @Description:
 * @Date:Created in 9:08 2018/8/1
 * @Modified By:
 */
@Slf4j
@RestController
public class ConfigController {

//    @Value("${jdbc.username}")
//    String userName;

    @RequestMapping("/hi")
    public String index() {
        return "userName";
    }
}
